<template>
  <div>
    <div @click="$router.push('/')" class="img" :style="{'background-image':'url('+imgpath+')'}"></div>
  </div>
</template>

<script>
import { Swiper } from "@/components";
export default {
  components: { Swiper },
  data() {
    return {
      imgpath: require("@/assets/404.png")
    };
  },
  mounted() {}
};
</script>

<style>
.img {
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.demo {
  width: 200px;
  height: 200px;
  background: url(../../assets/logo.png);
}
</style>
